package edu.bw.dao;

import edu.bw.po.Product;

import java.util.List;

public interface ProductDao {
    default void saveProduct(Product product){};
    void updateProduct(Product product);
    List<Product> findAllProducts();
    default Product findProductById(Integer pid){return null;};
    default void deleteProductById(int pid){};
}
